<#include "/java_copyright.include">
<#assign className = table.className>
<#assign classNameLower = className?uncap_first>
package ${basepackage}.mapper;

import java.util.List;

import ${basepackage}.domain.${className};
import ${basepackage}.mapper.GenericIBatisMapper;
import org.apache.ibatis.annotations.Param;


public interface ${className}Mapper extends GenericIBatisMapper <${className}, Long>{
<#assign hasStatusField = false>
<#list table.columns as column>
    <#if column.sqlName?? &&  'status' == column.sqlName>
        <#assign hasStatusField = true>
    </#if>
</#list>
<#if hasStatusField>
        int updateStatus(@Param("status") Byte code, @Param("ids") List<Long> ids);
</#if>
}